//
//  ServiceModal.m
//  ZHIFUBAO
//
//  Created by 高新川 on 15/6/19.
//  Copyright (c) 2015年 高新川. All rights reserved.
//

#import "ServiceModal.h"

@implementation ServiceUnitl

- (id)initWithImage:(NSString *)image title:(NSString *)title detail:(NSString *)detail {
    self = [super init];
    if (self) {
        self.image = image;
        self.title = title;
        self.detail = detail;
    }
    return self;
}

@end

@implementation ServiceModal

- (id)init {
    self = [super init];
    if (self) {
        ServiceUnitl *da1 = [[ServiceUnitl alloc] initWithImage:@"service01" title:@"服务窗提醒" detail:@"天猫超市"];
        ServiceUnitl *da2 = [[ServiceUnitl alloc] initWithImage:@"service02" title:@"服务提醒" detail:@"交易提醒"];
        ServiceUnitl *da3 = [[ServiceUnitl alloc] initWithImage:@"service03" title:@"阿里旅行•去啊" detail:@"20元全航线通用机票直减券"];
        ServiceUnitl *da4 = [[ServiceUnitl alloc] initWithImage:@"service04" title:@"天弘基金" detail:@"618理财节"];
        ServiceUnitl *da5 = [[ServiceUnitl alloc] initWithImage:@"service05" title:@"待办事项" detail:@"300万用户首演"];
        ServiceUnitl *da6 = [[ServiceUnitl alloc] initWithImage:@"service06" title:@"余额宝" detail:@"新股达不到"];
        ServiceUnitl *da7 = [[ServiceUnitl alloc] initWithImage:@"service07" title:@"支付宝服务中心" detail:@"如何对他了如指掌"];
        
        self.datas = [NSMutableArray arrayWithObjects:da1, da2, da3, da4, da5, da6, da7, nil];
    }
    return self;
}

@end
